package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 公众号/小程序推送记录对象 tol_push
 * 
 * @author realue
 * @date 2023-10-10
 */
public class TolPush extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 模板id */
    @Excel(name = "模板id")
    private String tmpId;

    /** 推送内容 */
    @Excel(name = "推送内容")
    private String pushContent;

    /** 1.小程序 2.公众号 */
    @Excel(name = "1.小程序 2.公众号")
    private Integer pushType;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private String jumpUrl;

    /** 用户openId */
    @Excel(name = "用户openId")
    private String openId;

    /** 状态 0.未推送 1.推送成功 2.推送失败 */
    @Excel(name = "状态 0.未推送 1.推送成功 2.推送失败")
    private Integer status;

    /** 推送时间 */
    @Excel(name = "推送时间")
    private String pushTime;

    /** 推送结果 */
    @Excel(name = "推送结果")
    private String pushResult;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDt;

    /** 账套号 */
    @Excel(name = "账套号")
    private String sysAccount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTmpId(String tmpId) 
    {
        this.tmpId = tmpId;
    }

    public String getTmpId() 
    {
        return tmpId;
    }
    public void setPushContent(String pushContent) 
    {
        this.pushContent = pushContent;
    }

    public String getPushContent() 
    {
        return pushContent;
    }
    public void setPushType(Integer pushType) 
    {
        this.pushType = pushType;
    }

    public Integer getPushType() 
    {
        return pushType;
    }
    public void setJumpUrl(String jumpUrl) 
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl() 
    {
        return jumpUrl;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPushTime(String pushTime) 
    {
        this.pushTime = pushTime;
    }

    public String getPushTime() 
    {
        return pushTime;
    }
    public void setPushResult(String pushResult) 
    {
        this.pushResult = pushResult;
    }

    public String getPushResult() 
    {
        return pushResult;
    }
    public void setCreateDt(String createDt) 
    {
        this.createDt = createDt;
    }

    public String getCreateDt() 
    {
        return createDt;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tmpId", getTmpId())
            .append("pushContent", getPushContent())
            .append("pushType", getPushType())
            .append("jumpUrl", getJumpUrl())
            .append("openId", getOpenId())
            .append("status", getStatus())
            .append("pushTime", getPushTime())
            .append("pushResult", getPushResult())
            .append("createDt", getCreateDt())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
